﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
namespace Ordering_system.管理员界面
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void MainForm_Load(object sender, EventArgs e)
        {
            
            managerHome home= new managerHome();
            home.Show();
            home.MdiParent = this;

            
            

        }

        private void 添加套餐AToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            Addeat ADd = new Addeat();
            ADd.Show();


        }

        private void 更新套餐信息UToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            Upeat upeat = new Upeat();
            upeat.Show();
        }

        private void 删除套餐DToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            Deat deat = new Deat();
            deat.Show();
        }
    }
}
